package com.hualan.service;

import com.hualan.domain.Articletype;
import com.hualan.mapper.ArticletypeMapper;
import com.hualan.service.impl.ArticleTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ArticleTypeServiceImpl implements ArticleTypeService {

    @Autowired
    private ArticletypeMapper articletypeMapper;

    @Override
    public List<Articletype> getAllArticle() {
    return articletypeMapper.findAllArticleType();
    }

}
